package com.wish.housing.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @program: Wish-Cloud-master
 * @description:
 * @author: Mr.Wang11
 * @create: 2022-03-29 15:48
 **/
@Data
@Document(indexName = "roominfo_doc")
public class EsRoomInfo {

	@Id
	private String id;//id

	private String frontCover;//图片

	private String roomName;//房源名称

	private String name;//楼盘名称

	private String roomCode;//房源编号

	private Double proportion;//面积

	private Double rental;//租金

	private Integer status;//出租状态

	private String userName;//发布人

	private Integer publishStatus;//发布状态

	private Integer recommended;//是否推荐


}
